package com.example.service.impl;

import java.util.List;

import com.example.entity.SysMenu;
import com.example.service.ISysMenuService;

import org.nutz.dao.Dao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 菜单管理  服务实现类
 * </p>
 *
 * @author lilufeng
 * @since 2016-11-28
 */
@Service
public class SysMenuServiceImpl implements ISysMenuService {
	
	@Autowired
	private Dao dao;

	@Override
	public List<SysMenu> selectList() {
		return dao.query(SysMenu.class, null);
	}
	
}
